﻿@model IEnumerable<LWJ_Tp_final.Models.Usuario>
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div>
        <table class="table table-striped">
            <thead>
            <tr class="tr-head">
                <th style="text-align:center">Username</th>
            </tr>
                </thead>
            <tbody>
                @foreach (var usuario in Model)
                {
                    <tr class="tr-body">
                        <td>@usuario.UserName</td>
                    </tr>
                }
            </tbody>
        </table>
    </div>
    <a class="btn btn-primary btn-lg active" role="button" href="@Url.Action("agregar","usuario")">AGREGAR</a>
</body>
</html>
